<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: C:/Users/DELL/Desktop/Commit/lvgl/SWM34S_LVGL7.11_SWMUI_20230515/APP/BSP/dev_touch.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="dir_4ca18d753a70f6eada20fde478bd3fc8.html">BSP</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">结构体</a> &#124;
<a href="#define-members">宏定义</a> &#124;
<a href="#enum-members">枚举</a> &#124;
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle"><div class="title">dev_touch.h 文件参考</div></div>
</div><!--header-->
<div class="contents">

<p>TP 触摸设备驱动层  
<a href="#details">更多...</a></p>
<div class="textblock"><code>#include &quot;SWM341.h&quot;</code><br />
<code>#include &quot;<a class="el" href="version_8h_source.html">version.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
dev_touch.h 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="dev__touch_8h__incl.png" border="0" usemap="#a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_b_s_p_2dev__touch_8h" alt=""/></div>
<map name="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_b_s_p_2dev__touch_8h" id="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_b_s_p_2dev__touch_8h">
<area shape="rect" title="TP 触摸设备驱动层" alt="" coords="5,5,277,60"/>
<area shape="rect" title=" " alt="" coords="46,108,133,133"/>
<area shape="rect" href="version_8h.html" title="版本/目标控制" alt="" coords="157,108,230,133"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
此图展示该文件直接或间接的被哪些文件引用了:</div>
<div class="dyncontent">
<div class="center"><img src="dev__touch_8h__dep__incl.png" border="0" usemap="#a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_b_s_p_2dev__touch_8hdep" alt=""/></div>
<map name="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_b_s_p_2dev__touch_8hdep" id="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_b_s_p_2dev__touch_8hdep">
<area shape="rect" title="TP 触摸设备驱动层" alt="" coords="2941,5,3213,60"/>
<area shape="rect" href="bsp__init_8h.html" title="板级硬件外设初始化" alt="" coords="1133,115,1392,170"/>
<area shape="rect" href="dev__io__i2c_8c.html" title="IO 模拟 IIC 通讯接口" alt="" coords="2174,108,2397,177"/>
<area shape="rect" href="dev__touch_8c.html" title="TP 触摸设备驱动层" alt="" coords="2792,233,3064,287"/>
<area shape="rect" href="_t_p___c_s_t328_8h.html" title="本例程为触摸 IC 驱动: CST328(海栎创)" alt="" coords="2421,108,2643,177"/>
<area shape="rect" href="_t_p___c_s_t826_8h.html" title="本例程为触摸 IC 驱动: CST826(海栎创)" alt="" coords="2667,108,2890,177"/>
<area shape="rect" href="_t_p___f_t5206_8h.html" title="本例程为触摸 IC 驱动: FT5206 敦泰电子(FocalTech)" alt="" coords="3213,108,3435,177"/>
<area shape="rect" href="_t_p___f_t6336_8h.html" title="本例程为触摸 IC 驱动: FT6336 敦泰电子(FocalTech)" alt="" coords="3459,108,3682,177"/>
<area shape="rect" href="_t_p___g_t911_8h.html" title="本例程为触摸 IC 驱动: GT911(汇顶科技)" alt="" coords="2966,108,3189,177"/>
<area shape="rect" href="_t_p___i_l_i2117_a_8c.html" title="本例程为触摸 IC 驱动: ILI2117A(奕力)" alt="" coords="3829,225,4051,295"/>
<area shape="rect" href="_t_p___i_l_i2117_a_8h.html" title="本例程为触摸 IC 驱动: ILI2117A(奕力)" alt="" coords="3706,108,3929,177"/>
<area shape="rect" href="_t_p___tango___c32_8h.html" title="本例程为触摸 IC 驱动: Tango C32( &lt;PIXCIR&gt; 瀚瑞微)" alt="" coords="4039,108,4262,177"/>
<area shape="rect" href="bsp__init_8c.html" title="板级硬件外设初始化" alt="" coords="248,233,507,287"/>
<area shape="rect" href="_flash_disk_8c.html" title="管理片外 SPI―Flash 的读写, 对接 FATFS 组件" alt="" coords="531,225,755,295"/>
<area shape="rect" href="load__mv_8c.html" title="播放 avi / wav 音视频" alt="" coords="779,225,1003,295"/>
<area shape="rect" href="power__manager_8c.html" title=" " alt="" coords="1027,225,1251,295"/>
<area shape="rect" href="userboot_8c.html" title="IAP 实现 UserBoot 功能" alt="" coords="1275,225,1499,295"/>
<area shape="rect" href="ui__boot_8c.html" title="开机动画/视频页, 挂载文件系统完成主页素材的导入" alt="" coords="1523,233,1765,287"/>
<area shape="rect" href="ui__update_8c.html" title="启动引导更新页, 挂载文件系统实现 UI 素材导入/更新(可选模块)" alt="" coords="1789,225,2008,295"/>
<area shape="rect" href="_mass_storage_8c.html" title=" " alt="" coords="2033,225,2274,295"/>
<area shape="rect" href="main_8c.html" title="主程序" alt="" coords="5,233,224,287"/>
<area shape="rect" href="_t_p___c_s_t328_8c.html" title="本例程为触摸 IC 驱动: CST328(海栎创)" alt="" coords="2298,225,2521,295"/>
<area shape="rect" href="_t_p___c_s_t826_8c.html" title="本例程为触摸 IC 驱动: CST826(海栎创)" alt="" coords="2545,225,2767,295"/>
<area shape="rect" href="_t_p___f_t5206_8c.html" title="本例程为触摸 IC 驱动: FT5206 敦泰电子(FocalTech)" alt="" coords="3335,225,3558,295"/>
<area shape="rect" href="_t_p___f_t6336_8c.html" title="本例程为触摸 IC 驱动: FT6336 敦泰电子(FocalTech)" alt="" coords="3582,225,3805,295"/>
<area shape="rect" href="_t_p___g_t911_8c.html" title="本例程为触摸 IC 驱动: GT911(汇顶科技)" alt="" coords="3089,225,3311,295"/>
<area shape="rect" href="_t_p___tango___c32_8c.html" title="本例程为触摸 IC 驱动: Tango C32( &lt;PIXCIR&gt; 瀚瑞微)" alt="" coords="4075,225,4298,295"/>
</map>
</div>
</div>
<p><a href="dev__touch_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
结构体</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtp__data__t.html">tp_data_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">触摸数据结构体  <a href="structtp__data__t.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdev__tp__t.html">dev_tp_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">触摸屏设备类  <a href="structdev__tp__t.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:aba49717405e9709f53a7e340653eaa41"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8h.html#aba49717405e9709f53a7e340653eaa41">TP_GPIO_RST</a>&#160;&#160;&#160;GPIOM</td></tr>
<tr class="separator:aba49717405e9709f53a7e340653eaa41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63b6be9409fb6bdacb3e661c2114077f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8h.html#a63b6be9409fb6bdacb3e661c2114077f">TP_PIN_RST</a>&#160;&#160;&#160;PIN4</td></tr>
<tr class="separator:a63b6be9409fb6bdacb3e661c2114077f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a886e6b681d04e833135384b906c35855"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8h.html#a886e6b681d04e833135384b906c35855">TP_GPIO_INT</a>&#160;&#160;&#160;GPIOM</td></tr>
<tr class="separator:a886e6b681d04e833135384b906c35855"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f516787a212a8060cd70b0d03ae1b13"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8h.html#a0f516787a212a8060cd70b0d03ae1b13">TP_PIN_INT</a>&#160;&#160;&#160;PIN5</td></tr>
<tr class="separator:a0f516787a212a8060cd70b0d03ae1b13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a479dbee3a96123ab3deb85133104cbab"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8h.html#a479dbee3a96123ab3deb85133104cbab">TP_INT_IRQn</a>&#160;&#160;&#160;GPIOM_IRQn</td></tr>
<tr class="separator:a479dbee3a96123ab3deb85133104cbab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af512db53f2c4ab4378e1a2e0bdd768fb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8h.html#af512db53f2c4ab4378e1a2e0bdd768fb">TP_INT_Handler</a>&#160;&#160;&#160;<a class="el" href="irq__handler_8c.html#a425647820843b294c2b1dae40740b4aa">GPIOM_Handler</a></td></tr>
<tr class="separator:af512db53f2c4ab4378e1a2e0bdd768fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e0ab863f65661b4309af875ec9e6d0d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8h.html#a1e0ab863f65661b4309af875ec9e6d0d">TP_GPIO_SCL</a>&#160;&#160;&#160;GPIOM</td></tr>
<tr class="separator:a1e0ab863f65661b4309af875ec9e6d0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfe2cb63b872519329bf1ad71284c099"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8h.html#adfe2cb63b872519329bf1ad71284c099">TP_PIN_SCL</a>&#160;&#160;&#160;PIN2</td></tr>
<tr class="separator:adfe2cb63b872519329bf1ad71284c099"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2430e500da89d3deb28fe4ba6d85cbeb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8h.html#a2430e500da89d3deb28fe4ba6d85cbeb">TP_GPIO_SDA</a>&#160;&#160;&#160;GPIOM</td></tr>
<tr class="separator:a2430e500da89d3deb28fe4ba6d85cbeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef519ccca134ad2b0416daacf1fe0696"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8h.html#aef519ccca134ad2b0416daacf1fe0696">TP_PIN_SDA</a>&#160;&#160;&#160;PIN3</td></tr>
<tr class="separator:aef519ccca134ad2b0416daacf1fe0696"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a127b5985433ce0cd956eb76e459c3096"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8h.html#a127b5985433ce0cd956eb76e459c3096">TP_PORT_SCL</a>&#160;&#160;&#160;PORTM</td></tr>
<tr class="separator:a127b5985433ce0cd956eb76e459c3096"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a872ce1f4179793adbfbf8c77393cf82e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8h.html#a872ce1f4179793adbfbf8c77393cf82e">TP_PIN_SCL_FUN</a>&#160;&#160;&#160;PORTA_PIN1_I2C0_SCL</td></tr>
<tr class="separator:a872ce1f4179793adbfbf8c77393cf82e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a427759b4468e32f4f30e39addcadb5bd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8h.html#a427759b4468e32f4f30e39addcadb5bd">TP_PORT_SDA</a>&#160;&#160;&#160;PORTM</td></tr>
<tr class="separator:a427759b4468e32f4f30e39addcadb5bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3c81321ed13a962bfbb9c6e1dd0c424"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8h.html#aa3c81321ed13a962bfbb9c6e1dd0c424">TP_PIN_SDA_FUN</a>&#160;&#160;&#160;PORTA_PIN0_I2C0_SDA</td></tr>
<tr class="separator:aa3c81321ed13a962bfbb9c6e1dd0c424"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46828f8d24ffd6580f185ce41bd262eb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8h.html#a46828f8d24ffd6580f185ce41bd262eb">TP_I2C_X</a>&#160;&#160;&#160;I2C0</td></tr>
<tr class="separator:a46828f8d24ffd6580f185ce41bd262eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
枚举</h2></td></tr>
<tr class="memitem:a9fffde3171a44771a6e9f8f0cbb52d71"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71">tp_event_t</a> { <br />
&#160;&#160;<a class="el" href="dev__touch_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2">TP_EVENT_RELEASED</a> = 0
, <a class="el" href="dev__touch_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a">TP_EVENT_PRESSED</a>
, <a class="el" href="_t_p___c_s_t328_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2">TP_EVENT_RELEASED</a> = 0
, <a class="el" href="_t_p___c_s_t328_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a">TP_EVENT_PRESSED</a>
, <br />
&#160;&#160;<a class="el" href="_t_p___c_s_t826_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2">TP_EVENT_RELEASED</a> = 0
, <a class="el" href="_t_p___c_s_t826_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a">TP_EVENT_PRESSED</a>
, <a class="el" href="_t_p___f_t5206_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2">TP_EVENT_RELEASED</a> = 0
, <a class="el" href="_t_p___f_t5206_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a">TP_EVENT_PRESSED</a>
, <br />
&#160;&#160;<a class="el" href="_t_p___f_t6336_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2">TP_EVENT_RELEASED</a> = 0
, <a class="el" href="_t_p___f_t6336_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a">TP_EVENT_PRESSED</a>
, <a class="el" href="_t_p___g_t911_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2">TP_EVENT_RELEASED</a> = 0
, <a class="el" href="_t_p___g_t911_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a">TP_EVENT_PRESSED</a>
, <br />
&#160;&#160;<a class="el" href="_t_p___i_l_i2117_a_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2">TP_EVENT_RELEASED</a> = 0
, <a class="el" href="_t_p___i_l_i2117_a_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a">TP_EVENT_PRESSED</a>
, <a class="el" href="_t_p___tango___c32_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2">TP_EVENT_RELEASED</a> = 0
, <a class="el" href="_t_p___tango___c32_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a">TP_EVENT_PRESSED</a>
<br />
 }</td></tr>
<tr class="memdesc:a9fffde3171a44771a6e9f8f0cbb52d71"><td class="mdescLeft">&#160;</td><td class="mdescRight">触摸事件枚举  <a href="dev__touch_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71">更多...</a><br /></td></tr>
<tr class="separator:a9fffde3171a44771a6e9f8f0cbb52d71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab82e9fc0994f9cf732d62c6e02271973"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8h.html#ab82e9fc0994f9cf732d62c6e02271973">tp_type_t</a> { <a class="el" href="dev__touch_8h.html#ab82e9fc0994f9cf732d62c6e02271973a5b57370396b7de414e4132f4fadc8885">TP_TYPE_CT</a> = 0
, <a class="el" href="dev__touch_8h.html#ab82e9fc0994f9cf732d62c6e02271973a811906f8dba08a6d4cbf0c61dcddf80f">TP_TYPE_RT</a>
 }</td></tr>
<tr class="memdesc:ab82e9fc0994f9cf732d62c6e02271973"><td class="mdescLeft">&#160;</td><td class="mdescRight">触摸屏种类枚举  <a href="dev__touch_8h.html#ab82e9fc0994f9cf732d62c6e02271973">更多...</a><br /></td></tr>
<tr class="separator:ab82e9fc0994f9cf732d62c6e02271973"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d8890ebc8ff6e7826af41519043e77e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8h.html#a4d8890ebc8ff6e7826af41519043e77e">tp_mode_t</a> { <a class="el" href="dev__touch_8h.html#a4d8890ebc8ff6e7826af41519043e77ea341fdaa08fa997570c0b89e6e4bf5068">TP_MODE_POLLING_RDONLY</a> = 0
, <a class="el" href="dev__touch_8h.html#a4d8890ebc8ff6e7826af41519043e77ea03d9705d179305c0dc4c1ef0fce65b83">TP_MODE_INT_RX</a>
 }</td></tr>
<tr class="memdesc:a4d8890ebc8ff6e7826af41519043e77e"><td class="mdescLeft">&#160;</td><td class="mdescRight">触摸屏工作模式  <a href="dev__touch_8h.html#a4d8890ebc8ff6e7826af41519043e77e">更多...</a><br /></td></tr>
<tr class="separator:a4d8890ebc8ff6e7826af41519043e77e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:ad79fb3af238f076a0aa90e32a43ab77e"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8h.html#ad79fb3af238f076a0aa90e32a43ab77e">touch_init</a> (<a class="el" href="structdev__tp__t.html">dev_tp_t</a> *dev)</td></tr>
<tr class="memdesc:ad79fb3af238f076a0aa90e32a43ab77e"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化触摸设备驱动  <a href="dev__touch_8h.html#ad79fb3af238f076a0aa90e32a43ab77e">更多...</a><br /></td></tr>
<tr class="separator:ad79fb3af238f076a0aa90e32a43ab77e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4155438389d8b8b802f7f20534056bf0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8h.html#a4155438389d8b8b802f7f20534056bf0">touch_handler</a> (<a class="el" href="structdev__tp__t.html">dev_tp_t</a> *dev)</td></tr>
<tr class="memdesc:a4155438389d8b8b802f7f20534056bf0"><td class="mdescLeft">&#160;</td><td class="mdescRight">触摸事件处理  <a href="dev__touch_8h.html#a4155438389d8b8b802f7f20534056bf0">更多...</a><br /></td></tr>
<tr class="separator:a4155438389d8b8b802f7f20534056bf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:a84c114ba14f4f7ca7c2258db06b98d87"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structdev__tp__t.html">dev_tp_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8h.html#a84c114ba14f4f7ca7c2258db06b98d87">Dev_TP</a></td></tr>
<tr class="memdesc:a84c114ba14f4f7ca7c2258db06b98d87"><td class="mdescLeft">&#160;</td><td class="mdescRight">触摸屏设备  <a href="dev__touch_8h.html#a84c114ba14f4f7ca7c2258db06b98d87">更多...</a><br /></td></tr>
<tr class="separator:a84c114ba14f4f7ca7c2258db06b98d87"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >TP 触摸设备驱动层 </p>
<p >/ </p><dl class="section since"><dt>自从</dt><dd>Change Logs: Date Author Notes 2022-12-08 lzh the first version </dd></dl>
<dl class="section remark"><dt>备注</dt><dd>/</dd></dl>
<dl class="section attention"><dt>注意</dt><dd></dd></dl>
<p>THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, SYNWIT SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONN- -ECTION WITH THEIR PRODUCTS.</p>
<dl class="section copyright"><dt>版权所有</dt><dd>2012 Synwit Technology </dd></dl>

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 中定义.</p>
</div><h2 class="groupheader">宏定义说明</h2>
<a id="aba49717405e9709f53a7e340653eaa41" name="aba49717405e9709f53a7e340653eaa41"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba49717405e9709f53a7e340653eaa41">&#9670;&#160;</a></span>TP_GPIO_RST</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TP_GPIO_RST&#160;&#160;&#160;GPIOM</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00032">32</a> 行定义.</p>

</div>
</div>
<a id="a63b6be9409fb6bdacb3e661c2114077f" name="a63b6be9409fb6bdacb3e661c2114077f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63b6be9409fb6bdacb3e661c2114077f">&#9670;&#160;</a></span>TP_PIN_RST</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TP_PIN_RST&#160;&#160;&#160;PIN4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00033">33</a> 行定义.</p>

</div>
</div>
<a id="a886e6b681d04e833135384b906c35855" name="a886e6b681d04e833135384b906c35855"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a886e6b681d04e833135384b906c35855">&#9670;&#160;</a></span>TP_GPIO_INT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TP_GPIO_INT&#160;&#160;&#160;GPIOM</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00035">35</a> 行定义.</p>

</div>
</div>
<a id="a0f516787a212a8060cd70b0d03ae1b13" name="a0f516787a212a8060cd70b0d03ae1b13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f516787a212a8060cd70b0d03ae1b13">&#9670;&#160;</a></span>TP_PIN_INT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TP_PIN_INT&#160;&#160;&#160;PIN5</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00036">36</a> 行定义.</p>

</div>
</div>
<a id="a479dbee3a96123ab3deb85133104cbab" name="a479dbee3a96123ab3deb85133104cbab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a479dbee3a96123ab3deb85133104cbab">&#9670;&#160;</a></span>TP_INT_IRQn</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TP_INT_IRQn&#160;&#160;&#160;GPIOM_IRQn</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00037">37</a> 行定义.</p>

</div>
</div>
<a id="af512db53f2c4ab4378e1a2e0bdd768fb" name="af512db53f2c4ab4378e1a2e0bdd768fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af512db53f2c4ab4378e1a2e0bdd768fb">&#9670;&#160;</a></span>TP_INT_Handler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TP_INT_Handler&#160;&#160;&#160;<a class="el" href="irq__handler_8c.html#a425647820843b294c2b1dae40740b4aa">GPIOM_Handler</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00038">38</a> 行定义.</p>

</div>
</div>
<a id="a1e0ab863f65661b4309af875ec9e6d0d" name="a1e0ab863f65661b4309af875ec9e6d0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e0ab863f65661b4309af875ec9e6d0d">&#9670;&#160;</a></span>TP_GPIO_SCL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TP_GPIO_SCL&#160;&#160;&#160;GPIOM</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00040">40</a> 行定义.</p>

</div>
</div>
<a id="adfe2cb63b872519329bf1ad71284c099" name="adfe2cb63b872519329bf1ad71284c099"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adfe2cb63b872519329bf1ad71284c099">&#9670;&#160;</a></span>TP_PIN_SCL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TP_PIN_SCL&#160;&#160;&#160;PIN2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00041">41</a> 行定义.</p>

</div>
</div>
<a id="a2430e500da89d3deb28fe4ba6d85cbeb" name="a2430e500da89d3deb28fe4ba6d85cbeb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2430e500da89d3deb28fe4ba6d85cbeb">&#9670;&#160;</a></span>TP_GPIO_SDA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TP_GPIO_SDA&#160;&#160;&#160;GPIOM</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00043">43</a> 行定义.</p>

</div>
</div>
<a id="aef519ccca134ad2b0416daacf1fe0696" name="aef519ccca134ad2b0416daacf1fe0696"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef519ccca134ad2b0416daacf1fe0696">&#9670;&#160;</a></span>TP_PIN_SDA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TP_PIN_SDA&#160;&#160;&#160;PIN3</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00044">44</a> 行定义.</p>

</div>
</div>
<a id="a127b5985433ce0cd956eb76e459c3096" name="a127b5985433ce0cd956eb76e459c3096"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a127b5985433ce0cd956eb76e459c3096">&#9670;&#160;</a></span>TP_PORT_SCL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TP_PORT_SCL&#160;&#160;&#160;PORTM</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00047">47</a> 行定义.</p>

</div>
</div>
<a id="a872ce1f4179793adbfbf8c77393cf82e" name="a872ce1f4179793adbfbf8c77393cf82e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a872ce1f4179793adbfbf8c77393cf82e">&#9670;&#160;</a></span>TP_PIN_SCL_FUN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TP_PIN_SCL_FUN&#160;&#160;&#160;PORTA_PIN1_I2C0_SCL</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00048">48</a> 行定义.</p>

</div>
</div>
<a id="a427759b4468e32f4f30e39addcadb5bd" name="a427759b4468e32f4f30e39addcadb5bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a427759b4468e32f4f30e39addcadb5bd">&#9670;&#160;</a></span>TP_PORT_SDA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TP_PORT_SDA&#160;&#160;&#160;PORTM</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00050">50</a> 行定义.</p>

</div>
</div>
<a id="aa3c81321ed13a962bfbb9c6e1dd0c424" name="aa3c81321ed13a962bfbb9c6e1dd0c424"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa3c81321ed13a962bfbb9c6e1dd0c424">&#9670;&#160;</a></span>TP_PIN_SDA_FUN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TP_PIN_SDA_FUN&#160;&#160;&#160;PORTA_PIN0_I2C0_SDA</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00051">51</a> 行定义.</p>

</div>
</div>
<a id="a46828f8d24ffd6580f185ce41bd262eb" name="a46828f8d24ffd6580f185ce41bd262eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46828f8d24ffd6580f185ce41bd262eb">&#9670;&#160;</a></span>TP_I2C_X</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TP_I2C_X&#160;&#160;&#160;I2C0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00053">53</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">枚举类型说明</h2>
<a id="a9fffde3171a44771a6e9f8f0cbb52d71" name="a9fffde3171a44771a6e9f8f0cbb52d71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9fffde3171a44771a6e9f8f0cbb52d71">&#9670;&#160;</a></span>tp_event_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="dev__touch_8h.html#a9fffde3171a44771a6e9f8f0cbb52d71">tp_event_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>触摸事件枚举 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2" name="a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2"></a>TP_EVENT_RELEASED&#160;</td><td class="fielddoc"><p >触屏释放 </p>
</td></tr>
<tr><td class="fieldname"><a id="a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a" name="a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a"></a>TP_EVENT_PRESSED&#160;</td><td class="fielddoc"><p >触屏按下 </p>
</td></tr>
<tr><td class="fieldname"><a id="a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2" name="a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2"></a>TP_EVENT_RELEASED&#160;</td><td class="fielddoc"><p >触屏释放 </p>
</td></tr>
<tr><td class="fieldname"><a id="a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a" name="a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a"></a>TP_EVENT_PRESSED&#160;</td><td class="fielddoc"><p >触屏按下 </p>
</td></tr>
<tr><td class="fieldname"><a id="a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2" name="a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2"></a>TP_EVENT_RELEASED&#160;</td><td class="fielddoc"><p >触屏释放 </p>
</td></tr>
<tr><td class="fieldname"><a id="a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a" name="a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a"></a>TP_EVENT_PRESSED&#160;</td><td class="fielddoc"><p >触屏按下 </p>
</td></tr>
<tr><td class="fieldname"><a id="a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2" name="a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2"></a>TP_EVENT_RELEASED&#160;</td><td class="fielddoc"><p >触屏释放 </p>
</td></tr>
<tr><td class="fieldname"><a id="a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a" name="a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a"></a>TP_EVENT_PRESSED&#160;</td><td class="fielddoc"><p >触屏按下 </p>
</td></tr>
<tr><td class="fieldname"><a id="a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2" name="a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2"></a>TP_EVENT_RELEASED&#160;</td><td class="fielddoc"><p >触屏释放 </p>
</td></tr>
<tr><td class="fieldname"><a id="a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a" name="a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a"></a>TP_EVENT_PRESSED&#160;</td><td class="fielddoc"><p >触屏按下 </p>
</td></tr>
<tr><td class="fieldname"><a id="a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2" name="a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2"></a>TP_EVENT_RELEASED&#160;</td><td class="fielddoc"><p >触屏释放 </p>
</td></tr>
<tr><td class="fieldname"><a id="a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a" name="a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a"></a>TP_EVENT_PRESSED&#160;</td><td class="fielddoc"><p >触屏按下 </p>
</td></tr>
<tr><td class="fieldname"><a id="a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2" name="a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2"></a>TP_EVENT_RELEASED&#160;</td><td class="fielddoc"><p >触屏释放 </p>
</td></tr>
<tr><td class="fieldname"><a id="a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a" name="a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a"></a>TP_EVENT_PRESSED&#160;</td><td class="fielddoc"><p >触屏按下 </p>
</td></tr>
<tr><td class="fieldname"><a id="a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2" name="a9fffde3171a44771a6e9f8f0cbb52d71a693480a7cbe7d8d0a9d07a2d66ee9da2"></a>TP_EVENT_RELEASED&#160;</td><td class="fielddoc"><p >触屏释放 </p>
</td></tr>
<tr><td class="fieldname"><a id="a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a" name="a9fffde3171a44771a6e9f8f0cbb52d71a0b306b969e605870813a875062f36d2a"></a>TP_EVENT_PRESSED&#160;</td><td class="fielddoc"><p >触屏按下 </p>
</td></tr>
</table>

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00119">119</a> 行定义.</p>

</div>
</div>
<a id="ab82e9fc0994f9cf732d62c6e02271973" name="ab82e9fc0994f9cf732d62c6e02271973"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab82e9fc0994f9cf732d62c6e02271973">&#9670;&#160;</a></span>tp_type_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="dev__touch_8h.html#ab82e9fc0994f9cf732d62c6e02271973">tp_type_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>触摸屏种类枚举 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="ab82e9fc0994f9cf732d62c6e02271973a5b57370396b7de414e4132f4fadc8885" name="ab82e9fc0994f9cf732d62c6e02271973a5b57370396b7de414e4132f4fadc8885"></a>TP_TYPE_CT&#160;</td><td class="fielddoc"><p >电容式触摸屏 </p>
</td></tr>
<tr><td class="fieldname"><a id="ab82e9fc0994f9cf732d62c6e02271973a811906f8dba08a6d4cbf0c61dcddf80f" name="ab82e9fc0994f9cf732d62c6e02271973a811906f8dba08a6d4cbf0c61dcddf80f"></a>TP_TYPE_RT&#160;</td><td class="fielddoc"><p >电阻式触摸屏 </p>
</td></tr>
</table>

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00136">136</a> 行定义.</p>

</div>
</div>
<a id="a4d8890ebc8ff6e7826af41519043e77e" name="a4d8890ebc8ff6e7826af41519043e77e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d8890ebc8ff6e7826af41519043e77e">&#9670;&#160;</a></span>tp_mode_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="dev__touch_8h.html#a4d8890ebc8ff6e7826af41519043e77e">tp_mode_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>触摸屏工作模式 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="a4d8890ebc8ff6e7826af41519043e77ea341fdaa08fa997570c0b89e6e4bf5068" name="a4d8890ebc8ff6e7826af41519043e77ea341fdaa08fa997570c0b89e6e4bf5068"></a>TP_MODE_POLLING_RDONLY&#160;</td><td class="fielddoc"><p >轮询模式 </p>
</td></tr>
<tr><td class="fieldname"><a id="a4d8890ebc8ff6e7826af41519043e77ea03d9705d179305c0dc4c1ef0fce65b83" name="a4d8890ebc8ff6e7826af41519043e77ea03d9705d179305c0dc4c1ef0fce65b83"></a>TP_MODE_INT_RX&#160;</td><td class="fielddoc"><p >中断接收模式(INT触发) </p>
</td></tr>
</table>

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00143">143</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="ad79fb3af238f076a0aa90e32a43ab77e" name="ad79fb3af238f076a0aa90e32a43ab77e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad79fb3af238f076a0aa90e32a43ab77e">&#9670;&#160;</a></span>touch_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t touch_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structdev__tp__t.html">dev_tp_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>初始化触摸设备驱动 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>: 设备句柄 </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">0</td><td>: success </td></tr>
    <tr><td class="paramname">other</td><td>: error code </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="dev__touch_8c_source.html">dev_touch.c</a> 第 <a class="el" href="dev__touch_8c_source.html#l00140">140</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="dev__touch_8h_ad79fb3af238f076a0aa90e32a43ab77e_icgraph.png" border="0" usemap="#adev__touch_8h_ad79fb3af238f076a0aa90e32a43ab77e_icgraph" alt=""/></div>
<map name="adev__touch_8h_ad79fb3af238f076a0aa90e32a43ab77e_icgraph" id="adev__touch_8h_ad79fb3af238f076a0aa90e32a43ab77e_icgraph">
<area shape="rect" title="初始化触摸设备驱动" alt="" coords="204,5,283,31"/>
<area shape="rect" href="power__manager_8c.html#a0607f7307b006db734b10c8b94bb909e" title="退出睡眠模式后的环境恢复" alt="" coords="5,5,156,31"/>
</map>
</div>

</div>
</div>
<a id="a4155438389d8b8b802f7f20534056bf0" name="a4155438389d8b8b802f7f20534056bf0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4155438389d8b8b802f7f20534056bf0">&#9670;&#160;</a></span>touch_handler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void touch_handler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structdev__tp__t.html">dev_tp_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>触摸事件处理 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>: 设备句柄 </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">/</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>INT 中断触发-&gt;查询扫描 </dd></dl>

<p class="definition">在文件 <a class="el" href="dev__touch_8c_source.html">dev_touch.c</a> 第 <a class="el" href="dev__touch_8c_source.html#l00174">174</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="dev__touch_8h_a4155438389d8b8b802f7f20534056bf0_icgraph.png" border="0" usemap="#adev__touch_8h_a4155438389d8b8b802f7f20534056bf0_icgraph" alt=""/></div>
<map name="adev__touch_8h_a4155438389d8b8b802f7f20534056bf0_icgraph" id="adev__touch_8h_a4155438389d8b8b802f7f20534056bf0_icgraph">
<area shape="rect" title="触摸事件处理" alt="" coords="339,5,441,31"/>
<area shape="rect" href="ui__boot_8c.html#ad915e3f7b5aab86e375414a5844c500a" title="挂载文件系统以完成本地素材检测, 并将其导入至 SDRAM , 同时实现开机动画/视频效果" alt="" coords="227,5,291,31"/>
<area shape="rect" href="main_8c.html#a8f1efe6291a27ae9b326f0c8a236c102" title="Go to User App Execute" alt="" coords="104,5,179,31"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="C_Main" alt="" coords="5,5,56,31"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">变量说明</h2>
<a id="a84c114ba14f4f7ca7c2258db06b98d87" name="a84c114ba14f4f7ca7c2258db06b98d87"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84c114ba14f4f7ca7c2258db06b98d87">&#9670;&#160;</a></span>Dev_TP</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structdev__tp__t.html">dev_tp_t</a> Dev_TP</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>触摸屏设备 </p>

<p class="definition">在文件 <a class="el" href="dev__touch_8c_source.html">dev_touch.c</a> 第 <a class="el" href="dev__touch_8c_source.html#l00073">73</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
